﻿using PWMIS.Common;
using PWMIS.DataMap.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication2.Entity
{
    [Serializable()]
    public partial class T_MsgLogPerson : EntityBase
    {
        public T_MsgLogPerson()
        {
            TableName = "T_MsgLogPerson";
            Schema = "dbo";
            EntityMap = EntityMapType.Table;
            //IdentityName = "标识字段名";

            //PrimaryKeys.Add("主键字段名");
            PrimaryKeys.Add("MsgId");
            PrimaryKeys.Add("UserId");


        }


        protected override void SetFieldNames()
        {
            PropertyNames = new string[] { "MsgId", "UserId", "Status" };
        }



        /// <summary>
        /// 
        /// </summary>
        public System.Int32 MsgId
        {
            get { return getProperty<System.Int32>("MsgId"); }
            set { setProperty("MsgId", value); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32 UserId
        {
            get { return getProperty<System.Int32>("UserId"); }
            set { setProperty("UserId", value); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32 Status
        {
            get { return getProperty<System.Int32>("Status"); }
            set { setProperty("Status", value); }
        }


    }

}
